Skip to content

feat: add dedicated favicon assets#7

Merged
BunsDev merged 2 commits into
mainfrom
dedicated-favicon
Jun 19, 2026
Merged

feat: add dedicated favicon assets#7
BunsDev merged 2 commits into
mainfrom
dedicated-favicon

Conversation

@BunsDev

@BunsDev BunsDev commented Jun 19, 2026

Copy link
Copy Markdown
Member

Summary

The favicon previously resolved from /logo.svg (white mark on transparent), which is faint on light browser tabs. Added self-contained favicon assets so the OpenCoven mark stays legible on both light and dark tabs.

  • public/favicon.svg — OpenCoven monoline mark (white) on a dark rounded tile; crisp at any size for modern browsers.
  • public/favicon.ico — multi-size 16/32/48 raster (strokes slightly bolded for small-size legibility).
  • public/apple-icon.png — 180×180 apple-touch-icon.

Wired all three into metadata.icons in app/layout.tsx. /logo.svg is unchanged and still used for the in-page header and chat button.

Design notes

  • A dark rounded tile (matching the UI #0a0a0a / OG card) makes the favicon self-contained: the white mark shows on dark tabs, the dark tile + mark show on light tabs.
  • The ornate mark naturally softens at 16px (low-DPI legacy tabs); modern retina tabs render the 32px raster / SVG crisply. The monoline (6-path) variant was chosen over the 810-path detailed mark precisely for small-size legibility.

Verification

  • npm run build → ✓ compiled, all routes built; built HTML head emits all three icon <link>s (favicon.svg, favicon.ico, apple-icon.png).
  • npm testvalidate-opencoven-port: ok
  • Visually verified the rendered mark at 16/32px on light/grey backgrounds.
  • Commit signed/verified.

🤖 Generated with Claude Code

BunsDev and others added 2 commits June 19, 2026 03:28
Runs the chat API on :3001 so it can pair with Coven Cave's dev server
(which owns :3000) when Cave's /api/salem proxies to SALEM_CHAT_API_URL.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The favicon previously resolved from /logo.svg (white mark on transparent),
which was faint on light browser tabs. Add self-contained favicon assets so
the mark stays legible on both light and dark tabs:

- public/favicon.svg — OpenCoven monoline mark (white) on a dark rounded
  tile; crisp at any size for modern browsers.
- public/favicon.ico — multi-size 16/32/48 raster (strokes slightly bolded
  for small-size legibility).
- public/apple-icon.png — 180x180 apple-touch-icon.

Wire all three into the metadata icons in app/layout.tsx. /logo.svg is
unchanged and still used for the in-page header and chat button.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 19, 2026 08:41
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
opencoven-chat-api Ready Ready Preview Jun 19, 2026 8:41am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds dedicated favicon assets and updates Next.js metadata configuration so the OpenCoven mark remains legible on both light and dark browser tabs, instead of relying on /logo.svg.

Changes:

  • Add a new dedicated public/favicon.svg asset (self-contained mark on dark tile).
  • Update app/layout.tsx metadata.icons to reference favicon.svg, favicon.ico, and apple-icon.png.
  • Add a convenience dev script to run Next on port 3001.

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated 1 comment.

File Description
public/favicon.svg Adds an SVG favicon asset designed for legibility on light/dark tabs.
app/layout.tsx Switches metadata.icons from /logo.svg to dedicated favicon + apple-touch icon assets.
package.json Adds dev:cave script to run the dev server on port 3001.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/layout.tsx
Comment on lines +10 to +13
icon: [
{ url: "/favicon.svg", type: "image/svg+xml" },
{ url: "/favicon.ico", sizes: "any" },
],
@BunsDev BunsDev merged commit b3d5e8c into main Jun 19, 2026
2 checks passed
@BunsDev BunsDev deleted the dedicated-favicon branch June 19, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants